# Patch module to include missing symbol. Run in the same directory
# of esdcan-xxx-mod.o and esdcan-xxx-o
# by nat

# Note: change System.map-2.6.20-1-686 with the corrected value for your 
# kernel

PARAVIRT_OPS=`grep "D paravirt_ops" /boot/System.map-2.6.20-1-686 | colrm 9`
#echo 0x$PARAVIRT_OPS
ld -m elf_i386 --defsym paravirt_ops=0x$PARAVIRT_OPS -r -o esdcan-usb331.ko esdcan-usb331.o esdcan-usb331.mod.o
